Answer:

Some Machines that DON'T have cycles

Some of these are not ordinarily counted as machines. Many of these are used as part of a larger cycle. A day of sledding involves repeatedly dragging the sled to the top of the hill.

Review of the LET Statement

Remember (from Chapter 3) how the LET statement works? A LET Statement:

  1. Finds memory for each NEW variable in the statement.
    • If there are no new variables, this step does nothing.
  2. Does the calculation on the RIGHT of the equal sign.
    • If there is nothing to calculate, it just uses the value that is there.
  3. Replaces the contents of the variable to the LEFT of the equal sign with the result of the calculation.

For example:

LET VALUE = 12 + 5
  1. Finds memory for VALUE if it has not been used before in the program.
  2. Does the calculation 12+5 and gets 17.
  3. Then puts the 17 in the memory called VALUE.

In step 2 a number is calculated using the information on the RIGHT of the equal sign. THEN in step 3 the number is put into the memory reserved for the variable.

QUESTION 3:

What happens FIRST when the LET statement in the following program executes?

' Example LET statement
LET NUMBER = 5 + 2
PRINT NUMBER
END